package com.digdes.calendar.gwt.client.widget;

import com.digdes.calendar.gwt.client.dto.EventDTOImpl;
import com.google.gwt.user.client.ui.FlexTable;

import java.util.ArrayList;
import java.util.List;

public class CellGrid extends FlexTable {
	private int day;
	private int month;
	private int year;
    private int top;
    private int number;

    private List<EventDTOImpl> eventDTOList = new ArrayList<EventDTOImpl>();

    public CellGrid(int day, int month, int year) {
		this.setDay(day);
		this.setMonth(month);
		this.setYear(year);
	}

	public int getDay() {
		return day;
	}

	public void setDay(int day) {
		this.day = day;
	}

	public int getMonth() {
		return month;
	}

	public void setMonth(int month) {
		this.month = month;
	}

	public int getYear() {
		return year;
	}

	public void setYear(int year) {
		this.year = year;
	}

    public int getTop() {
        return top;
    }

    public void setTop(int top) {
        this.top = top;
    }

    public List<EventDTOImpl> getEventDTOList() {
        return eventDTOList;
    }

    public void setEventDTOList(List<EventDTOImpl> eventDTOList) {
        this.eventDTOList = eventDTOList;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }
}